package com.clkj.aimin.pojo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_userHealth" )
@Table( name ="t_cl_userHealth" )
public class UserHealth  implements Serializable {

    @Id
   	@Column(name = "record_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer recordId;

   	@Column(name = "user_id" )
	@ApiModelProperty( value="null")
	private Integer userId;

   	@Column(name = "user_height" )
	@ApiModelProperty( value="null")
	private String userHeight;

   	@Column(name = "user_weight" )
	@ApiModelProperty( value="null")
	private String userWeight;

	/**
	 * 既往病史
	 */
   	@Column(name = "past_medical" )
	@ApiModelProperty( value="既往病史")
	private String pastMedical;

	/**
	 * 过敏史
	 */
   	@Column(name = "allergy" )
	@ApiModelProperty( value="过敏史")
	private String allergy;

	/**
	 * 家庭病史
	 */
   	@Column(name = "family_history" )
	@ApiModelProperty( value="家庭病史")
	private String familyHistory;

   	@Column(name = "is_motion" )
	@ApiModelProperty( value="null")
	private Integer isMotion;

   	@Column(name = "is_smoke" )
	@ApiModelProperty( value="null")
	private Integer isSmoke;

   	@Column(name = "is_drink" )
	@ApiModelProperty( value="null")
	private Integer isDrink;

//   	@Transient
//    private String userName;
//    @Transient
//   	private String userCode;
//    @Transient
//   	private String birth;
//    @Transient
//   	private String tel;
//
//    @Transient
//    private String userImg;
//
//    @Transient
//    private String sex;
//
//    @Transient
//    private Integer  doctorId;

  public Integer getRecordId() {
    return recordId;
  }

  public void setRecordId(Integer recordId) {
    this.recordId = recordId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getUserHeight() {
    return userHeight;
  }

  public void setUserHeight(String userHeight) {
    this.userHeight = userHeight;
  }


  public String getUserWeight() {
    return userWeight;
  }

  public void setUserWeight(String userWeight) {
    this.userWeight = userWeight;
  }


  public String getPastMedical() {
    return pastMedical;
  }

  public void setPastMedical(String pastMedical) {
    this.pastMedical = pastMedical;
  }


  public String getAllergy() {
    return allergy;
  }

  public void setAllergy(String allergy) {
    this.allergy = allergy;
  }


  public String getFamilyHistory() {
    return familyHistory;
  }

  public void setFamilyHistory(String familyHistory) {
    this.familyHistory = familyHistory;
  }


  public Integer getIsMotion() {
    return isMotion;
  }

  public void setIsMotion(Integer isMotion) {
    this.isMotion = isMotion;
  }


  public Integer getIsSmoke() {
    return isSmoke;
  }

  public void setIsSmoke(Integer isSmoke) {
    this.isSmoke = isSmoke;
  }


  public Integer getIsDrink() {
    return isDrink;
  }

  public void setIsDrink(Integer isDrink) {
    this.isDrink = isDrink;
  }

}
